package com.basika;

public class Main {
    public static void main(String[] args) {
        Lens lensOne = new Lens("sony",
                "80mm",
                true);

        Lens lensTwo = new Lens("sony",
                "30mm",
                true);

        Lens lensThree = new Lens("cano",
                "24-70mm",
                false);

        System.out.println("Lens 1");
        System.out.println(lensOne.brand);
        System.out.println(lensOne.focusLength);
        System.out.println(lensOne.isPrimer);

        System.out.println("Lens 2");
        System.out.println(lensTwo.brand);
        System.out.println(lensTwo.focusLength);
        System.out.println(lensTwo.isPrimer);

        System.out.println("Lens 3");
        System.out.println(lensThree.brand);
        System.out.println(lensThree.focusLength);
        System.out.println(lensThree.isPrimer);
    }

    static class Lens{
        String brand;
        String focusLength;
        boolean isPrimer;

        Lens(String brand, String focusLength, boolean isPrimer ){
            this.brand = brand;
            this.focusLength = focusLength;
            this.isPrimer = isPrimer;
        }
    }


}
